﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace XYZshell.Game.CardGameEngine
{
	/// <summary>
	/// 行为
	/// </summary>
	public  class Action:IXMLable,IFact
	{
		#region IXMLable 成员

		/// <summary>
		/// 转换为XML
		/// </summary>
		/// <returns></returns>
		public string ToXML()
		{
			StringBuilder sb=new StringBuilder();
			sb.AppendLine("<action>");
			sb.AppendLine( "</action>" );
			return sb.ToString();
		}
		/// <summary>
		/// 从XML生成行为
		/// </summary>
		/// <param name="xmlNode"></param>
		/// <returns></returns>
		public static Action  FromXML( string xmlNode )
		{
			return new Action();
		}

		#endregion
	}
}
